package com.diaohw.module.metadata.enums;

import java.util.Date;

public enum ItemTypeEnums {

    STRING("string", String.class),
    INTEGER("integer", Integer.class),
    FLOAT("float", Double.class),
    BOOLEAN("boolean", Boolean.class),
    DATE("date", String.class),
    TIME("time", String.class),
    DATETIME("datetime", Date.class),
    ENUM("enum", String.class),
    OBJECT("object", String.class);


    public final String value;
    public final Class<?> clazz;

    ItemTypeEnums(String value, Class<?> clazz) {
        this.value = value;
        this.clazz = clazz;
    }


}
